﻿using System.Collections.Generic;

namespace DayDayUp.Core.Domain.Users
{
    public class PermissionRecord:BaseEntity
    {
        public string SystemName { get; set; }

        private ICollection<UserRole> _userRoles;
        /// <summary>
        /// Gets or sets discount usage history
        /// </summary>
        public virtual ICollection<UserRole> UserRoles 
        {
            get { return _userRoles ?? (_userRoles = new List<UserRole>()); }
            protected set { _userRoles = value; }
        }   
    }
}